package com.haorui.lygyd.employeemanager.controller;
import com.haorui.base.core.controller.BaseController;
import com.haorui.lygyd.employeemanager.dto.YuangongDto;
import com.haorui.lygyd.employeemanager.entity.YuangongEntity;
import com.haorui.lygyd.employeemanager.service.YuangongService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:26:58 CST 2019
 * @Description: 员工
 */
@RestController
@RequestMapping(value = "/yuangong")
public class YuangongController extends BaseController<YuangongEntity,YuangongDto> {
    private YuangongService yuangongService;
    public YuangongController(@Autowired YuangongService yuangongService) {
        super(yuangongService);
        this.yuangongService=yuangongService;
    }
}
